@charset 'utf-8';
@import 'common';
.container-fluid {
    overflow-x: hidden;
    main {
        .num_box {
            width: 55px;
            height: 55px;
            text-align: center;
            line-height: 55px;
            background-color: #ffffff;
            font-weight: bold;
            border-radius: 5px;
        }
        .title_text {
            font-size: 24px;
            color: #ffffff;
        }
        .flash_box {
            padding: 60px 0 94px;
            background: url(../img/family/bg1.png) no-repeat right 25% top 60px #8bc01f;
            .flash_content {
                .flash_box_title {
                    display: flex;
                    align-items: center;
                    font-size: 48px;
                    color: #ffffff;
                    .num_box {
                        color: #8bc01f;
                    }
                    h2 {
                        margin: 0;
                        margin-left: 10px;
                        font-size: 48px;
                    }
                }
                .title_text {
                    margin: 17px 0 60px;
                }
                .flash_content_text {
                    width: 80%;
                    font-size: 14px;
                    color: #ffffff;
                    div {
                        margin: 28px 0;
                    }
                }
                .down_btn {
                    margin-top: 36px;
                    width: 100px;
                    height: 36px;
                    background-color: #e8f2d2;
                    color: #8bc01f;
                    line-height: 36px;
                    text-align: center;
                    cursor: pointer;
                    border-radius: 5px;
                    transition: all .5s;
                    &:hover {
                        background-color: #96c632;
                        color: #e8f2d2;
                        box-shadow: 1px 1px 10px #829360;
                    }
                }
            }
        }
        .player_box {
            padding: 60px 0 128px;
            background-image: url(../img/family/bg2.png), url(../img/family/bg3.png);
            background-repeat: no-repeat, no-repeat;
            background-position: top 160px left 20%, bottom 60px right 20%;
            background-color: $blue;
            .player_main {}
            .player_title {
                display: flex;
                align-items: center;
                .num_box {
                    font-size: 48px;
                    color: $blue;
                }
                h2 {
                    margin: 0;
                    margin-left: 10px;
                    color: #ffffff;
                    font-size: 48px;
                }
            }
            .player_content_box {
                margin: 28px 0;
                .player_content_text {
                    color: #ffffff;
                    width: 95%;
                    line-height: 30px;
                    margin-top: 15px;
                }
            }
        }
        .other_box_bg {
            padding: 80px 0;
        }
        .other_box_bg2 {
            background-color: #f7f7f7;
        }
        .other_family {
            .other_family_box {
                .other_failmy_img{
                     
                        text-align: center;
                    }
                &:nth-child(1) {
                    .other_content {
                        width: 75%;
                    }
                    .other_failmy_img{
                        width: 75%;
                        text-align: center;
                    }
                }
                .other_title {
                    display: flex;
                    align-items: center;
                    color: $blue;
                    .other_num {
                        width: 42px;
                        height: 42px;
                        background-color: $blue;
                        line-height: 42px;
                        text-align: center;
                        color: #ffffff;
                        border-radius: 3px;
                        font-size: 36px;
                        font-weight: bold;
                    }
                    h2 {
                        margin: 0;
                        margin-left: 10px;
                        font-size: 42px;
                    }
                }
                .other_title_text {
                    min-height: 50px;
                    color: #5d5d5d;
                    font-size: 18px;
                    margin: 26px 0 37px;
                }
                .other_content {
                    .other_content_box {
                        min-height: 100px;
                        .other_content_title {
                            color: $blue;
                            font-size: 18px;
                        }
                        .other_content_text {
                            font-size: 14px;
                            line-height: 22px;
                            color: #5d5d5d;
                            margin: 23px 0 36px;
                            text-indent: 2em;
                        }
                    }
                }
            }
        }
    }
}

@media only screen and (min-width:992px) and (max-width:1200px) {
    .container-fluid {
        main {
            .flash_box {
                padding: 60px 0 94px;
                background-image: url(../img/family/bg1.png);
                background-position: right 10% top 50%;
                background-repeat: no-repeat;
                background-size: 35%;
                background-color: #8bc01f;
            }
            .player_box {
                background-image: url(../img/family/bg2.png), url(../img/family/bg3.png);
                background-repeat: no-repeat, no-repeat;
                background-position: top 160px left 10%, bottom 60px right 10%;
                background-size: 25%,25%;
                background-color: $blue;
                .player_content{
                    width: 45%;
                }
            }
        }
    }
}
@media only screen and (min-width:768px) and (max-width:991px) {
     .container-fluid {
        main {
            .flash_box {
                background: $green;
                padding: 30px 0;
                .flash_content{
                    .flash_box_title{
                        justify-content: center;
                    }
                    .title_text{
                        text-align: center;
                    }
                    .flash_content_text{
                        width: 70%;
                        margin: 0 auto;
                        text-align: center;
                        div{
                            
                        }
                    }
                    .down_btn{
                        margin: 0 auto;
                    }
                }
            }
            .player_box {
                background: $blue;
                padding: 30px 0;
                .player_content{
                    text-align: center;
                }
                .player_title{
                    justify-content: center;
                }
            }
            .other_family{
                .other_family_box{
                    width: 80%;
                    margin: 0 auto ;
                    text-align: center;
                    padding-bottom: 30px;
                    &:nth-child(1){
                        border-bottom: 1px solid $blue;
                        .other_content{
                            width: 100%;
                            
                        }
                        .other_failmy_img{
                            width: 100%;
                        }
                        
                    }
                    &:nth-child(2){
                        margin-top: 30px;
                    }
                    .other_title{
                        justify-content: center;
                    }
                    .other_content{
                        .other_content_box{
                            .other_content_text{
                                margin: 10px 0 20px;
                            }
                        } 
                    }
                }
            }  
        }
    }
}


@media only screen and (min-width:0px) and (max-width:767px) {
     .container-fluid {
        main {
            .title_text{
                font-size: 20px;
            }
            .num_box{
                width: 30px;
                height: 30px;
                line-height: 30px;
                
            }
            .flash_box {
                background: $green;
                padding: 30px 0;
                .flash_content{
                    .flash_box_title{
                        font-size: 24px;
                        justify-content: center;
                        h2{
                            font-size: 30px;
                        }
                    }
                    .title_text{
                        width: 85%;
                        font-size: 20px;
                        margin: 10px auto;
                        text-align: center;
                    }
                    .flash_content_text{
                        width: 90%;
                        margin: 0 auto;
                        text-align: center;
                        div{
                            
                        }
                    }
                    .down_btn{
                        margin: 0 auto;
                    }
                }
            }
            .player_box {
                background: $blue;
                padding: 30px 0;
                .player_content{
                    text-align: center;
                    .player_content_box{
                        width: 85%;
                    margin: 15px auto;
                    }
                }
                .player_title{
                    justify-content: center;
                    h2{
                        font-size: 30px;
                    }
                    .num_box{
                        font-size: 24px;
                    }
                }
            }
            .other_box_bg{
                padding: 20px 0;
            }
            .other_family{
                .other_family_box{
                    width: 80%;
                    margin: 0 auto;
                    text-align: center;
                    padding-bottom: 20px;
                    &:nth-child(1){
                        border-bottom: 1px solid $blue;
                        .other_content{
                            width: 100%;
                            
                        }
                        .other_failmy_img{
                            width: 100%;
                        }
                        
                    }
                    &:nth-child(2){
                        margin-top: 30px;
                    }
                    
                    .other_title{
                        justify-content: center;
                        .other_num{
                            width: 30px;
                            height: 30px;
                            line-height: 30px;
                            font-size: 24px;
                        }
                        h2{
                            font-size: 30px;
                        }
                    }
                    .other_title_text{
                        margin: 15px 0;
                    }
                    .other_content{
                        .other_content_box{
                            .other_content_text{
                                margin: 10px 0;
                            }
                        } 
                    }
                }
            }  
        }
    }
}
